package uuuu;

public class Test {
    public static void main(String[] args){
        Student me = new Student(2020310874,"曹家隆","男","数学","已选","未退");
        //类名   对象      构造方法的使用
        Student friend = new Student(2020310874,"曹家隆","男","数学","已选","未退");
        System.out.println("学生信息");
        System.out.println(me);
        System.out.println(friend);
        Teacher z  = new Teacher(2045874,"小刚","男","数学");
        System.out.println("教师信息");
        System.out.println(z);
        Lesson v = new Lesson("数学",2597,"教学楼105",8);
        Lesson s = new Lesson("英语",2598,"教学楼106",9);
        Lesson d = new Lesson("物理",2599,"教学楼107",10);
        Lesson[] list1=new Lesson[2];
        Lesson[] list2=new Lesson[2];
        list1[0]=v;
        list1[1]=s;
        list2[0]=v;
        list2[1]=d;
        friend.setList(list1);
        me.setList(list2);
        System.out.println(friend.list[0]);
        System.out.println(friend.list[1]);
        System.out.println("班课信息");
        System.out.println(v);
        me.xuanke();
        me.delete();


        }
    }


